how to define trend by high and low